using System;
using System.Collections.Generic;

namespace CSW.Framework.Common.Binding.Interfaces
{
    /// <summary>
    /// IComplexPropertyContainer interface.
    /// </summary>
    public interface IComplexPropertyContainer : IEnumerable<ComplexProperty>
    {
        /// <summary>
        /// Gets the <see cref="CSW.Framework.Common.Binding.ComplexProperty"/> associated with the specified property name.
        /// </summary>
        /// <value>
        /// The <see cref="CSW.Framework.Common.Binding.ComplexProperty"/> associated with the specified property name.
        /// </value>
        ComplexProperty this[String propertyName] { get; }
    }
}
